/*--------------------JavaPOJO for 来客单位人员(lkdwry)--------------------*/
package com.yonyou.ucf.mdf.bill.entity;

import com.yonyou.iuap.yms.annotation.YMSEntity;
import com.yonyou.ypd.bill.base.*;
import java.util.Date;
import com.yonyou.ypd.bill.basic.entity.SuperDO;

/**
 * @author root
 * @description 来客单位人员
 * @Date 2025-05-12 15:56:47
 * @since 2023/11/28
 **/
@YMSEntity(name = "cxocm.cxocm.lkdwry", domain = "c-yondif-cpd-ocm")
public class Lkdwry extends SuperDO implements ILogicDelete {
    public static final String ENTITY_NAME = "cxocm.cxocm.lkdwry";
    public static final String PSN = "psn";
    public static final String DANWEI = "danwei";
    public static final String ZHIWU = "zhiwu";
    public static final String BEIZHU = "beizhu";
    public static final String FOREIGNERKEY = "foreignerKey";
    public static final String BIZFLOWINSTANCEID = "bizFlowInstanceId";
    public static final String BIZFLOWMAKEBILLCODE = "bizFlowMakeBillCode";
    public static final String BIZFLOWID = "bizflowId";
    public static final String BIZFLOWNAME = "bizflowName";
    public static final String CREATETIME = "createTime";
    public static final String CREATOR = "creator";
    public static final String DR = "dr";
    public static final String FIRSTBUSIOBJ = "firstBusiObj";
    public static final String FIRSTCHILDID = "firstChildId";
    public static final String FIRSTCODE = "firstCode";
    public static final String FIRSTID = "firstId";
    public static final String ID = "id";
    public static final String MODIFIER = "modifier";
    public static final String MODIFYTIME = "modifyTime";
    public static final String PUBTS = "pubts";
    public static final String SOURCEBUSIOBJ = "sourceBusiObj";
    public static final String SOURCECHILDID = "sourceChildId";
    public static final String SOURCECODE = "sourceCode";
    public static final String SOURCEGRANDID = "sourceGrandId";
    public static final String SOURCEID = "sourceId";
    public static final String YTENANTID = "ytenantId";

    /* 人员 */
    private String psn;
    /* 单位 */
    private String danwei;
    /* 职务 */
    private String zhiwu;
    /* 备注 */
    private String beizhu;
    /* 公务接待 */
    private String foreignerKey;
    /* 业务流实例id */
    private String bizFlowInstanceId;
    /* 单据转换规则编码 */
    private String bizFlowMakeBillCode;
    /* 业务流id */
    private String bizflowId;
    /* 流程名称 */
    private String bizflowName;
    /* 创建时间 */
    private Date createTime;
    /* 创建人 */
    private String creator;
    /* 逻辑删除 */
    private Short dr;
    /* 来源业务对象 */
    private String firstBusiObj;
    /* 来源单据子表id */
    private String firstChildId;
    /* 来源单据号 */
    private String firstCode;
    /* 来源单据主表id */
    private String firstId;
    /* id */
    private String id;
    /* 修改人 */
    private String modifier;
    /* 修改时间 */
    private Date modifyTime;
    /* pubts */
    private Date pubts;
    /* 上游业务对象 */
    private String sourceBusiObj;
    /* 上游单据子表id */
    private String sourceChildId;
    /* 上游单据号 */
    private String sourceCode;
    /* 来源孙表id */
    private String sourceGrandId;
    /* 上游单据主表id */
    private String sourceId;
    /* 租户id */
    private String ytenantId;

    public void setPsn(String psn) {
        this.psn = psn;
    }

    public void setDanwei(String danwei) {
        this.danwei = danwei;
    }

    public void setZhiwu(String zhiwu) {
        this.zhiwu = zhiwu;
    }

    public void setBeizhu(String beizhu) {
        this.beizhu = beizhu;
    }

    public void setForeignerKey(String foreignerKey) {
        this.foreignerKey = foreignerKey;
    }

    public void setBizFlowInstanceId(String bizFlowInstanceId) {
        this.bizFlowInstanceId = bizFlowInstanceId;
    }

    public void setBizFlowMakeBillCode(String bizFlowMakeBillCode) {
        this.bizFlowMakeBillCode = bizFlowMakeBillCode;
    }

    public void setBizflowId(String bizflowId) {
        this.bizflowId = bizflowId;
    }

    public void setBizflowName(String bizflowName) {
        this.bizflowName = bizflowName;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public void setDr(Short dr) {
        this.dr = dr;
    }

    public void setFirstBusiObj(String firstBusiObj) {
        this.firstBusiObj = firstBusiObj;
    }

    public void setFirstChildId(String firstChildId) {
        this.firstChildId = firstChildId;
    }

    public void setFirstCode(String firstCode) {
        this.firstCode = firstCode;
    }

    public void setFirstId(String firstId) {
        this.firstId = firstId;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public void setPubts(Date pubts) {
        this.pubts = pubts;
    }

    public void setSourceBusiObj(String sourceBusiObj) {
        this.sourceBusiObj = sourceBusiObj;
    }

    public void setSourceChildId(String sourceChildId) {
        this.sourceChildId = sourceChildId;
    }

    public void setSourceCode(String sourceCode) {
        this.sourceCode = sourceCode;
    }

    public void setSourceGrandId(String sourceGrandId) {
        this.sourceGrandId = sourceGrandId;
    }

    public void setSourceId(String sourceId) {
        this.sourceId = sourceId;
    }

    public void setYtenantId(String ytenantId) {
        this.ytenantId = ytenantId;
    }

    public String getPsn() {
        return psn;
    }

    public String getDanwei() {
        return danwei;
    }

    public String getZhiwu() {
        return zhiwu;
    }

    public String getBeizhu() {
        return beizhu;
    }

    public String getForeignerKey() {
        return foreignerKey;
    }

    public String getBizFlowInstanceId() {
        return bizFlowInstanceId;
    }

    public String getBizFlowMakeBillCode() {
        return bizFlowMakeBillCode;
    }

    public String getBizflowId() {
        return bizflowId;
    }

    public String getBizflowName() {
        return bizflowName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public String getCreator() {
        return creator;
    }

    public Short getDr() {
        return dr;
    }

    public String getFirstBusiObj() {
        return firstBusiObj;
    }

    public String getFirstChildId() {
        return firstChildId;
    }

    public String getFirstCode() {
        return firstCode;
    }

    public String getFirstId() {
        return firstId;
    }

    public String getId() {
        return id;
    }

    public String getModifier() {
        return modifier;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public Date getPubts() {
        return pubts;
    }

    public String getSourceBusiObj() {
        return sourceBusiObj;
    }

    public String getSourceChildId() {
        return sourceChildId;
    }

    public String getSourceCode() {
        return sourceCode;
    }

    public String getSourceGrandId() {
        return sourceGrandId;
    }

    public String getSourceId() {
        return sourceId;
    }

    public String getYtenantId() {
        return ytenantId;
    }

    public String getFullName() {
        if (super.getFullName() != null && super.getFullName().indexOf("#PT#.") != -1) {
            return super.getFullName();
        } else {
            return ENTITY_NAME;
        }
    }
}
